package com.gzs.learn.springcloud.config.hotconfig;

import java.io.Serializable;

import com.gzs.learn.springcloud.config.ConfigConstants;
import org.springframework.context.annotation.Configuration;
import lombok.Data;

@Data
@HotConfig(dataId = ConfigConstants.DATAID_SWITCH_CONFIG, type = SwitchConfig.class)
@Configuration
public class SwitchConfig implements Serializable {
    private static final long serialVersionUID = 1L;
    private int fetureSwitch;
}
